package com.dianrui.qiyouriding.adapter;

import android.content.Context;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dianrui.qiyouriding.R;
import com.dianrui.qiyouriding.bean.MessageModel;
import com.dianrui.qiyouriding.bean.WalletBean;

import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;

public class WalletAdapter extends BaseQuickAdapter<WalletBean,BaseViewHolder> {


    public WalletAdapter(int layoutResId, @Nullable List<WalletBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, WalletBean item) {
        helper.setText(R.id.title,item.remark);
        helper.setText(R.id.time,item.create_time);
        helper.setText(R.id.money,item.money);
    }



}
